package com.hntest.service.impl;

import com.hntest.dao.BidRequestDao;
import com.hntest.entity.Bid;
import com.hntest.entity.BidRequest;
import com.hntest.entity.Pager;
import com.hntest.service.BidRequestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Service("BidRequestService")
public class BidRequestServiceImpl implements BidRequestService {

    @Autowired
    private BidRequestDao bidRequestDao;

    public void setBidRequestDao(BidRequestDao bidRequestDao) {
        this.bidRequestDao = bidRequestDao;
    }

    @Override
    public int getCounts(BidRequest bidRequest) {
        return 0;
    }

    @Override
    public List<BidRequest> getListByPage(Pager pager, BidRequest bidRequest) {
        return null;
    }

    @Override
    public int insert(BidRequest bidRequest) {
        return 0;
    }

    @Override
    public int bidThis(BigDecimal amount) {
        return 0;
    }

    @Override
    public int update(BidRequest bidRequest) {
        return 0;
    }

    @Override
    public BidRequest getUserinfo(BidRequest bidRequest) {
         return bidRequestDao.getUserinfo(bidRequest);
    }
}
